
(function(window, $, undefined) {

    function getProvince(regions) {

        return regions['provincesArr'];
    }

   
    var myApp = new Framework7();

    
    var province = getProvince(regions)/*,
        city = getCity(regions, '北京市'),
        area = getArea(regions, '北京市', '北京市')*/;

    var provinceSelect = '';

    var pickerLocation = myApp.picker({
        input: '#location',
        rotateEffect: true,
        toolbarTemplate: '<div class="toolbar">\
                            <div class="toolbar-inner">\
                                <div class="left">\
                                    <a href="#" class="link close-picker">取消</a>\
                                </div>\
                                <div class="right">\
                                    <a href="#" class="link close-picker">完成</a>\
                                </div>\
                            </div>\
                        </div>',
        cols: [{
                cssClass: 'f-s-14',
                width: '100%',
                textAlign: 'center',
                values: province,
               
            }
        ]
    });


})(window, jQuery);
